<template>
  <div class="tag-icon">
    <img class="tag-icon__img" src="@/assets/tag_icon.png" />
    <span>{{ text }}</span>
  </div>
</template>

<script>
export default {
  name: "tag-icon",
  props: ["text"]
};
</script>

<style lang="less" scoped>
.tag-icon {
  display: inline-flex;
  margin: 10px;
  height: 14px;
  line-height: 14px;
  font-size: 14px;
  background: #eef2f5;
  padding: 4px 5px;
  color: #6697f4;
  border-radius: 14px;
  justify-content: flex-start;
  align-items: center;
  .tag-icon__img {
    height: 14px;
    width: 14px;
    margin-right: 2px;
  }
}
</style>
